﻿#ifndef MAINWINDOW_H
#define MAINWINDOW_H

#include <QMainWindow>
#include <QDebug>

QT_BEGIN_NAMESPACE
namespace Ui { class MainWindow; }
QT_END_NAMESPACE

class ExcelHandler : public QObject
{
    Q_OBJECT

public slots:
    void handleException(int code, const QString& source, const QString& description, const QString& help)
    {
        qDebug() << "-------Exception Code:" << code;
        qDebug() << "-------Source:" << source;
        qDebug() << "-------Description:" << description;
        qDebug() << "-------Help:" << help;
    }
};

class MainWindow : public QMainWindow
{
    Q_OBJECT

    void excelOper();
public:
    MainWindow(QWidget *parent = nullptr);
    ~MainWindow();
private:
    Ui::MainWindow *ui;
};
#endif // MAINWINDOW_H
